package net.starwifi.duobao.repository;

import net.starwifi.duobao.entity.Ggljp;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.Repository;

import java.util.List;

/**
 * Created by Administrator on 2015/11/24.
 */
public interface GgljpRepository extends Repository<Ggljp,Long> {

    public  Ggljp findByGglhdid(Long gglhdid);

    @Query(value = "select o from net.starwifi.duobao.entity.Ggljp o where o.gglhdid=?1")
    public List<Ggljp> List(Long gglhdid);
}
